using ASP;
using HoWave.Common;
using HoWave.Web.DataHelper;
using System;
using System.Data;
using System.Web.Profile;
using System.Web.UI;
using System.Web.UI.WebControls;
public class UserControls_index_ctrl3 : UserControl
{
	protected Repeater Repeater_F_b;
	protected Repeater Repeater_F_cb;
	protected DefaultProfile Profile
	{
		get
		{
			return (DefaultProfile)this.Context.Profile;
		}
	}
	protected global_asax ApplicationInstance
	{
		get
		{
			return (global_asax)this.Context.ApplicationInstance;
		}
	}
	public bool isGetB
	{
		get;
		set;
	}
	public int classid
	{
		get;
		set;
	}
	public int selectcount
	{
		get;
		set;
	}
	public int selectindex
	{
		get;
		set;
	}
	public int datacount
	{
		get;
		set;
	}
	public int floor
	{
		get;
		set;
	}
	protected void Page_Load(object sender, EventArgs e)
	{
		if (!base.IsPostBack)
		{
			DataTable dataSource = CM_ProductsBll.instance.GetShopInfoByClassID(this.classid, this.selectcount, this.selectindex).PlusTable(this.datacount, new bool[]
			{
				true
			});
			if (this.isGetB)
			{
				this.Repeater_F_b.DataSource = dataSource;
				this.Repeater_F_b.DataBind();
			}
			else
			{
				this.Repeater_F_cb.DataSource = dataSource;
				this.Repeater_F_cb.DataBind();
			}
		}
	}
	protected string GetDisplay(object rowid)
	{
		return (rowid.IsNull(new object[0]) == "0") ? "" : " style=\"display:none;\"";
	}
	protected string GetClassName(object rowid)
	{
		return (rowid.IsNull(new object[0]) == "0") ? "on pointer" : "pointer";
	}
}
